package com.linkhub.oms.admin.config.i18n;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.LocaleResolver;

/**
 * @Description: I18nConfig
 * @Author: echo
 * @Date: 2024/3/3 16:38
 * @Version: 1.0
 */
@Configuration
public class I18nConfig {

    @Bean
    public LocaleResolver localeResolver() {
        return new I18nHeaderLocaleResolver();
    }


}
